﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Nhandang;

namespace Nhandangso4
{
    public partial class Form2 : Form
    {
        int x;
        int k = 0;
        public Form2(int t)
        {
            
            InitializeComponent();
           
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {

            if (textBox1 != null && textBox2 != null)
            {
                this.Hide();
                k = 1;
               // Form1 t = new Form1();
               // t.Show();
            }

        }
        public int retunf1(int x)
        {
            return k;
        }
    }
}
